package com.platform.tony;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.security.core.Authentication;
import org.springframework.security.web.DefaultSecurityFilterChain;


@Slf4j
@SpringBootApplication
@MapperScan(value = "com.platform.tony.mapper")
public class TonyApplication {

    public static void main(String[] args) {

        log.info("start tony !");
        // 返回 spring 容器
        ConfigurableApplicationContext run = SpringApplication.run(TonyApplication.class, args);
        log.info("app start ");
        // DefaultSecurityFilterChain chains = run.getBean("securityFilterChain", DefaultSecurityFilterChain.class);
        // System.out.println(chains);


        // bean DefaultSecurityFilterChain

    }

}
